package com.bing.bingPro.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName olt_daily_fault_detail
 */
@TableName(value ="olt_daily_fault_detail")
@Data
public class OltDailyFaultDetail implements Serializable {
    /**
     * 数据时间，天
     */
    @TableField(value = "dt")
    private Date dt;

    /**
     * 省份两位编码
     */
    @TableField(value = "olt_province")
    private String oltProvince;

    /**
     * OLT退服ID
     */
    @TableField(value = "olt_fault_id")
    private Integer oltFaultId;

    /**
     * OLT名称
     */
    @TableField(value = "olt_nas_city")
    private String oltNasCity;

    /**
     * 退服OLT IP
     */
    @TableField(value = "olt_fault_olt_ip")
    private String oltFaultOltIp;

    /**
     * 
     */
    @TableField(value = "olt_city_name")
    private String oltCityName;

    /**
     * 退服前活跃用户数
     */
    @TableField(value = "olt_before_fault_active_usr_num")
    private Integer oltBeforeFaultActiveUsrNum;

    /**
     * 退服开始时间
     */
    @TableField(value = "olt_fault_start_time")
    private LocalDate oltFaultStartTime;

    /**
     * 退服结束时间
     */
    @TableField(value = "olt_fault_end_time")
    private LocalDate oltFaultEndTime;

    /**
     * 退服时长，由CSV文件生成程序计算
     */
    @TableField(value = "olt_oos_duration")
    private Double oltOosDuration;

    /**
     * 设备在线用户总数
     */
    @TableField(value = "device_user_count")
    private Integer deviceUserCount;

    /**
     * 省份中文名称
     */
    @TableField(value = "province_name")
    private String provinceName;

    /**
     * 地市中文名称
     */
    @TableField(value = "city_name")
    private String cityName;

    /**
     * 区县中文名称
     */
    @TableField(value = "region_name")
    private String regionName;

    /**
     * 数据月份，自然月
     */
    @TableField(value = "dt_month")
    private Integer dtMonth;

    /**
     * 退服时长，由入库程序计算
     */
    @TableField(value = "olt_oos_duration_2")
    private Double oltOosDuration2;

    /**
     * 故障前用户所在 olt_pon 总数
     */
    @TableField(value = "fault_pon_count")
    private Integer faultPonCount;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}